﻿<%@ Control Language="C#" ClassName="PatHistoricEntityFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataEntityName" runat="server" Text="Entity Name:" AssociatedControlID="dataEntityName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataEntityName" Text='<%# Bind("EntityName") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataEntityName" runat="server" Display="Dynamic" ControlToValidate="dataEntityName" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataEntityDescription" runat="server" Text="Entity Description:" AssociatedControlID="dataEntityDescription" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataEntityDescription" Text='<%# Bind("EntityDescription") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataEntityDescription" runat="server" Display="Dynamic" ControlToValidate="dataEntityDescription" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataDataBaseName" runat="server" Text="Data Base Name:" AssociatedControlID="dataDataBaseName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataDataBaseName" Text='<%# Bind("DataBaseName") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataDataBaseName" runat="server" Display="Dynamic" ControlToValidate="dataDataBaseName" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataActive" runat="server" Text="Active:" AssociatedControlID="dataActive" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataActive" SelectedValue='<%# Bind("Active") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Si" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCreationLogin" runat="server" Text="Creation Login:" AssociatedControlID="dataCreationLogin" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCreationLogin" Text='<%# Bind("CreationLogin") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataCreationLogin" runat="server" Display="Dynamic" ControlToValidate="dataCreationLogin" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCreationDate" runat="server" Text="Creation Date:" AssociatedControlID="dataCreationDate" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCreationDate" Text='<%# Bind("CreationDate", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataCreationDate" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataCreationDate" runat="server" Display="Dynamic" ControlToValidate="dataCreationDate" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataModificationLogin" runat="server" Text="Modification Login:" AssociatedControlID="dataModificationLogin" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataModificationLogin" Text='<%# Bind("ModificationLogin") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataModificationLogin" runat="server" Display="Dynamic" ControlToValidate="dataModificationLogin" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataModificationDate" runat="server" Text="Modification Date:" AssociatedControlID="dataModificationDate" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataModificationDate" Text='<%# Bind("ModificationDate", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataModificationDate" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataModificationDate" runat="server" Display="Dynamic" ControlToValidate="dataModificationDate" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


